//
//  UIImage+PYUploadImageByQiniu.h
//  catuncel
//
//  Created by Jim on 2017/12/6.
//  Copyright © 2017年 Jim. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void (^PYUploadImageByQiniuCompletion)(NSString *originalKey, NSError *error);

@interface UIImage (PYUploadImageByQiniu)

- (void)uploadImageByQiniuAndCompress:(CGFloat)kb completion:(PYUploadImageByQiniuCompletion)completion;

- (void)uploadImageByQiniuWithoutCompress:(NSString *)originalKey token:(NSString *)token compress:(PYUploadImageByQiniuCompletion)completion;

@end
